//
//  Define.h
//  IntegralWall
//
//  Created by 小焘无量 on 2022/8/12.
//

#ifndef Define_h
#define Define_h

//MARK: -  枚举
typedef enum{
    PayTypeWeichat,
    PayTypeAli,
} BindPayType;



//MARK: - key

#define kUMShareKey @"632db0a905844627b5533cd9"

#define kWeiXinLinks @"https://cdn.img.ttzhapp.com/system/"
#define kWeiChatAppId @"wxebbcad16beaf381d"
#define kWeiChatSecret @"2b01089fc46075eca596b04b5e25f594"

#define NETPageSize  @"10"

//MARK: - 请求返回数据

#define NET_RESULT_CODE  [[NSString stringWithFormat:@"%@",responseObject[@"code"]] integerValue]
#define NET_SHOW_MSG     [MBProgressHUD showMessage:[NSString stringWithFormat:@"%@",responseObject[@"msg"]]];
#define NET_SHOW_ERROR   [MBProgressHUD showMessage:@"网络请求失败"];

// placeholder
#define PlaceholderImgName @"icon_header_default"


//MARK: - NSUserDefault  key
#define kHiddenTaskNoticeView @"kHiddenTaskNoticeView"

//MARK: - Tag


//MARK: - NotificationName
/// 更新登录状态
#define NotifiName_LoginStateChange @"NotifiName_LoginStateChange"
#define NotifiName_MemberStateChange @"NotifiName_MemberStateChange"// 会员状态改变
#define NotifiNameWeichatCode @"NotifiNameWeichatCode"
#define NotifiNameAliPay    @"NotifiNameAliPay"// 阿里支付回调
//#define NotifiNameShareSuccess @"NotifiNameShareSuccess"// 分享成功

// 支付状态
#define UserNotificationAlipayOrWechatSuccess   @"UserNotificationAlipayOrWechatSuccess"
#define UserNotificationAlipayOrWechatFail      @"UserNotificationAlipayOrWechatFail"


//MARK: - URL
#define BASEURL @"https://www.dizhi0311.cn/api"



#define URL_queryUserWithPhone @"manager/queryUser" // 查询用户信息
#define URL_saveCompanyInfo @"manager/company" // 保存公司资料
#define URL_openMember @"manager/openMember"// 开通会员
#define URL_checkList @"manager/queryInfo" // 查询 1.查会员 2.查被投诉 3.查询价次数。4.查上传库存次数





#endif /* Define_h */
